package com.htpro.service.impl;

import com.htpro.mapper.PlanMapper;
import com.htpro.pojo.Plan;
import com.htpro.service.PlanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PlanServiceImpl implements PlanService {
    @Autowired
    private PlanMapper pm;

    @Override
    public List<Plan> getCinemaByFname(Integer id) {
        return pm.getCinemaByFname(id);
    }

    @Override
    public List<Plan> getAllCinema() {
        return pm.getAllCinema();
    }

    @Override
    public List<Plan> getEveryCinema() {
        return pm.getEveryCinema();
    }

    @Override
    public List<Plan> getCinemaByYingyuan(Integer id) {
        return pm.getCinemaByYingyuan(id);
    }
}
